package com.avamanager.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.avamanager.common.annotation.Excel;
import com.avamanager.common.core.domain.BaseEntity;

/**
 * 家长信息对象 app_parent
 * 
 * @author FenvyYe
 * @date 2022-08-24
 */
public class AppParent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家长ID */
    private Long parentId;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentsName;

    /** 性别 */
    @Excel(name = "性别")
    private String parentSex;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 关系 */
    @Excel(name = "关系")
    private String relation;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workplace;

    /** 职业 */
    @Excel(name = "职业")
    private String job;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalOutlook;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String origin;

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setParentsName(String parentsName) 
    {
        this.parentsName = parentsName;
    }

    public String getParentsName() 
    {
        return parentsName;
    }
    public void setParentSex(String parentSex) 
    {
        this.parentSex = parentSex;
    }

    public String getParentSex() 
    {
        return parentSex;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setRelation(String relation) 
    {
        this.relation = relation;
    }

    public String getRelation() 
    {
        return relation;
    }
    public void setWorkplace(String workplace) 
    {
        this.workplace = workplace;
    }

    public String getWorkplace() 
    {
        return workplace;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setPoliticalOutlook(String politicalOutlook) 
    {
        this.politicalOutlook = politicalOutlook;
    }

    public String getPoliticalOutlook() 
    {
        return politicalOutlook;
    }
    public void setOrigin(String origin) 
    {
        this.origin = origin;
    }

    public String getOrigin() 
    {
        return origin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parentId", getParentId())
            .append("parentsName", getParentsName())
            .append("parentSex", getParentSex())
            .append("nation", getNation())
            .append("relation", getRelation())
            .append("workplace", getWorkplace())
            .append("job", getJob())
            .append("politicalOutlook", getPoliticalOutlook())
            .append("origin", getOrigin())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
